package com.ruoyi.project.dataviewSystem.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 告警处理对象 v_warning_picture
 * 
 * @author wangshuo
 * @date 2021-02-13
 */
public class VWarningPicture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String imageUrl;

    /** 处理描述 */
    @Excel(name = "处理描述")
    private String description;

    /** 外键id */
    @Excel(name = "外键id")
    private Long vwaringId;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dealTime;

    /** 处理人 */
    @Excel(name = "处理人")
    private String dealUsername;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setVwaringId(Long vwaringId) 
    {
        this.vwaringId = vwaringId;
    }

    public Long getVwaringId() 
    {
        return vwaringId;
    }
    public void setDealTime(Date dealTime) 
    {
        this.dealTime = dealTime;
    }

    public Date getDealTime() 
    {
        return dealTime;
    }
    public void setDealUsername(String dealUsername) 
    {
        this.dealUsername = dealUsername;
    }

    public String getDealUsername() 
    {
        return dealUsername;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imageUrl", getImageUrl())
            .append("description", getDescription())
            .append("vwaringId", getVwaringId())
            .append("dealTime", getDealTime())
            .append("dealUsername", getDealUsername())
            .toString();
    }
}
